using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevComponents.DotNetBar;

namespace Xtreme_Builder
{
    public partial class MainFrm : DevComponents.DotNetBar.Metro.MetroForm
    {
        public MainFrm()
        {
            InitializeComponent();

            this.FormClosed += MainFrm_Close;

            
        }

        public void MainFrm_Close(object sender, EventArgs e)
        {
            Application.Exit();
        }

        private void viewToolStripMenuItem_Click(object sender, EventArgs e)
        {

        }

        private void buttonItem1_Click(object sender, EventArgs e)
        {
            Form1 a = new Form1();
            a.ShowDialog();
        }

        private void buttonItem3_Click(object sender, EventArgs e)
        {

        }

        private void prop_Click(object sender, EventArgs e)
        {

        }

        private void MainFrm_Paint(object sender, PaintEventArgs e)
        {
            foreach (Control c in this.Controls) if (c is Label) if (c.BackColor == Color.FromArgb(45, 45, 48)) c.BackColor = Color.FromArgb(0, 122, 204);

            e.Graphics.DrawImage(global::Xtreme_Builder.Properties.Resources.icon, new Point(9, 7));
            
        }

    }
}